﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace mojoPortal.Web.RS.SBM.AppCode.Lib
{
    public class InvoiceItem
    {
        public string ItemType { get; set; }
        public string ItemName { get; set; }
        public decimal Amount { get; set; }
        public int Quantity { get; set; }
        public decimal UnitPrice { get; set; }
        public int ProductId { get; set; }

        public InvoiceItem(string itemtype = "", string itemname = "", decimal amount = 0, int quantity = 0, decimal unitprice = 0, int productid = 0)
        {
            ItemType = itemtype;
            ItemName = itemname;
            Amount = amount;
            Quantity = quantity;
            UnitPrice = unitprice;
            ProductId = productid;
        }
    }
}